import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
import http from './util/request';

const app = createApp(App)

// 将 axios 实例挂载到全局属性上，可以通过 this.$http 访问
app.config.globalProperties.$http = http

app.use(createPinia())
app.use(router)
app.use(Antd)
app.mount('#app')
